Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_GD_NENTRIES

EOS_GD_NENTRIES

This function returns the number of entries and descriptive string buffer size for a specified entity.

Syntax

Result = EOS_GD_NENTRIES( gridID, entrycode [, LENGTH=variable] )

Return Value

Number of entries or FAIL(–1) which could signify an improper grid id or entry code.

Arguments

gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

entrycode

Entrycode (long). Allowable values are:

Keywords

LENGTH

Set this keyword to a named variable that will contain the length of the string returned by the corresponding inquiry routine as a long integer.

Examples

In this example, we determine the number of data field entries:

ndims = EOS_GD_NENTRIES(gridID, 4)

Version History

 

5.2

Introduced